package com.tos.second.common.constant;

/**
 * 信息提示常量类
 */
public class MessageConstant {

    public static final String PASSWORD_ERROR = "密码错误";
    public static final String ACCOUNT_NOT_FOUND = "账号不存在";
    public static final String ACCOUNT_LOCKED = "账号被锁定";
    public static final String ALREADY_EXISTS = "已存在";
    public static final String UNKNOWN_ERROR = "未知错误";
    public static final String USER_NOT_LOGIN = "用户未登录";
    public static final String SAME_NEW_OLD = "新密码不能与原密码相同";
    public static final String NEW_EMPTY = "新密码不能为空";
    public static final String NO_PWD = "原密码输入错误";
    public static final String CODE_ERROR = "验证码输入错误";
    public static final String OLD_PASSWORD_ERROR = "旧密码不能为空";
    public static final String UPLOAD_FAILED = "文件上传失败";
    public static final String EMAIL_ERROR = "邮箱错误";
    public static final String CAN_NOT_BUY_YOURSELF = "不能购买自己的商品";
    public static final String BALANCE_NOT_ENOUGH = "余额不足";
    public static final String GOODS_NOT_EXIT = "商品不存在";
    public static final String ALREADY_BUY = "商品已售出";
    public static final String USER_NOT_FOUND = "未查询到用户";
    public static final String CATEGORY_NOT_EXIT = "分类不存在";
    public static final String CATEGORY_IS_USING = "分类正在使用中";
    public static final String CATEGORY_HAS_GOODS = "分类下存在商品";
    public static final String NOT_AUTHORIZED = "没有权限";
    public static final String NOT_LOGIN = "未登录";
    public static final String GOODS_NOT_EXIST = "商品不存在";
    public static final String PRICE_ERROR = "价格错误";
    public static final String CAN_NOT_DELETE_OTHERS_SHOPPING_CART = "不能删除其他用户的购物车";
    public static final String GOODS_ALREADY_EXIST = "购物车已存在该商品";
    public static final String CAN_NOT_BUY_OTHERS_SHOPPING_CART = "不能购买其他用户的购物车";
    public static final String MONEY_NOT_ENOUGH = "充值不能为零或者负数";
    public static final String MONEY_IS_TO_LARGE = "充值金额过大";
    public static final String PRICE_TOO_HIGH = "商品价格过高";
    public static final String USER_MONEY_IS_TO_LARGE = "用户余额过高";
    public static final String SHOPPING_CART_FULL = "购物车已满";
    public static final String SHOPPING_CART_NOT_EXIST = "购物车不存在";
    public static final String MYSQL_ERROR = "数据库操作失败，请联系管理员修改";
    public static final String CONNECT_ERROR = "redis连接失败";

    public static final String ES_ERROR = "elasticsearch操作失败，请联系管理员修改";

    public static final String REDIS_KEY_CHECK_CODE = "secondhand:checkcode:";
    public static final String CODE_NULL = "验证码已过期";
    public static final String CODE_NOT_NULL = "验证码不能为空";
}
